/*    */ package system.staros.sblock1;
/*    */ 
/*    */ public abstract class UnaryOpNode extends Node
/*    */ {
/*    */   protected String operator;
/*    */   protected Node operand;
/*    */ 
/*    */   public UnaryOpNode(SourcePosition paramSourcePosition, String paramString, Node paramNode)
/*    */   {
/* 35 */     super(paramSourcePosition);
/* 36 */     this.operator = paramString;
/* 37 */     this.operand = paramNode;
/*    */   }
/*    */ 
/*    */   public String getName()
/*    */   {
/* 44 */     return this.operator;
/*    */   }
/*    */ 
/*    */   public Node getOperand()
/*    */   {
/* 51 */     return this.operand;
/*    */   }
/*    */ 
/*    */   public String toString()
/*    */   {
/* 56 */     StringBuilder localStringBuilder = new StringBuilder();
/* 57 */     localStringBuilder.append('(');
/* 58 */     localStringBuilder.append(getName());
/* 59 */     localStringBuilder.append(' ');
/* 60 */     localStringBuilder.append(this.operand.toString());
/* 61 */     localStringBuilder.append(')');
/* 62 */     return localStringBuilder.toString();
/*    */   }
/*    */ }

/* Location:           D:\Марк\!IMPORTANT\staros\archive\version-2.260.zip
 * Qualified Name:     system.staros.sblock1.UnaryOpNode
 * JD-Core Version:    0.6.1
 */